home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
GAME
/
Xconq 7.0.1.sit
/
Xconq 7.0.1
/
lib
/
makedir.pl
< prev
next >
Wrap
Perl Script
|
1995-08-22
|
466b
|
21 lines
#! /usr/unsupported/bin/perl
foreach $file (@ARGV) {
open(IMF,"<$file") || warn "Cannot open $file.¥n";
while (<IMF>) {
if (/imf¥s*¥"([^¥"]*)¥"/) {
$imf = $1;
if ($where{$imf} && $where{$imf} ne $file) {
warn "Family $imf present in files $where{$imf} and $file.¥n";
} else {
$where{$imf} = $file;
}
}
}
}
print "ImageFamilyName FileName¥n";
foreach $imf (sort keys(%where)) {
print "$imf $where{$imf}¥n";
}
print ". .¥n";